package com.apigateway.mapper;

import apigateway.serviceRegister.ServiceNode;
import com.apigateway.model.ApiService;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
@Mapper
public interface ApiServiceMapper {

    List<ApiService> findAll();
    List<ApiService> findServices(ServiceNode serviceNode);
    ApiService getServiceById(int serviceId);
    int addApiService(ApiService apiService);
    int updateService(ApiService apiService);
}